package com.lzp.wechat.entity.qrCode;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "二维码请求实体")
public class QrCodeRequest {

    @ApiModelProperty(value = "二维码有效时间", notes = "以秒为单位。 最大不超过2592000（即30天），此字段如果不填，则默认有效期为60秒")
    private Integer expire_seconds;

    @ApiModelProperty(value = "二维码类型", notes = "QR_SCENE为临时的整型参数值，QR_STR_SCENE为临时的字符串参数值，QR_LIMIT_SCENE为永久的整型参数值，QR_LIMIT_STR_SCENE为永久的字符串参数值")
    private String action_name;

    @ApiModelProperty(value = "二维码详细信息", notes = "二维码详细信息")
    private ActionInfo action_info;

}
